package com.oa.admin.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class DormAddDTO {

    @ApiModelProperty(value = "申请人id--默认为当前登陆者id")
    private String proposer;

    @ApiModelProperty(value = "部门id--默认为当前登陆者部门")
    private String department;

    @ApiModelProperty(value = "申请入住时间")
    @NotNull(message = "<申请入住时间>字段<intoTime>不能为空！")
    private Date intoTime;

    @ApiModelProperty(value = "申请简述")
    @NotNull(message = "<申请简述>字段<brief>不能为空！")
    private String brief;

    @ApiModelProperty(value = "入住所需配置（1-单人床 2-床垫 3-桌子 4-椅子）（可多选，逗号隔开）")
    private String allocation;
}
